const axios = require('axios')
const json5 = require('json5')
async function getVersion() {
  const { data } = await axios.get('https://dldir1.qq.com/weixin/android/weixin_android_alpha_config.json')
  const version = json5.parse(data.substring(3, data.length - 2)).arm64.versionName
  console.log(version)
}
getVersion()